import request from '@/utils/request'

/* ---------------------------------------------------------------------------------- 销售订单分析  */

// 销售订单分析 -当天,本周,本月,本年
export function A10salesOrderAnalysisApi() {
  return request({
    url: '/A10salesOrderAnalysis'
  })
}

//本期,同期
export function A10salesOrderAnalysisubApi() {
  return request({
    url: '/A10salesOrderAnalysisub'
  })
}

/* ---------------------------------------------------------------------------------- 销售出库分析  */

// 销售订单分析 -当天,本周,本月,本年
export function A10saleSaleOutStorageApi() {
  return request({
    url: '/A10saleOutStorage'
  })
}

//本期,同期
export function A10salesSaleOutStoragesubApi() {
  return request({
    url: '/A10saleOutStoragesub'
  })
}

/* ---------------------------------------------------------------------------------- 销售出货分析(退货)  */

// 销售订单分析 -当天,本周,本月,本年
export function A10saleSalesReturnApi() {
  return request({
    url: '/A10salesReturn'
  })
}

//本期,同期
export function A10salesSalesReturnsubApi() {
  return request({
    url: '/A10salesReturnsub'
  })
}

/* ---------------------------------------------------------------------------------- 客户交易排行  */

export function A10customerTransactionRankingApi(params) {
  return request({
    url: '/A10customerTransactionRanking',
    params
  })
}

/* ---------------------------------------------------------------------------------- 销售地区分析表（省）  */

export function A10regionalAnalysisApi(params) {
  return request({
    url: '/A10regionalAnalysis',
    params
  })
}

/* ---------------------------------------------------------------------------------- 客户交易分析表  */

export function A10customerTransactionApi(params) {
  return request({
    url: '/A10customerTransaction',
    params
  })
}

/* ---------------------------------------------------------------------------------- 客户交易分析表(退货)  */

export function A10salesReturnAnalysisApi(params) {
  return request({
    url: '/A10salesReturnAnalysis',
    params
  })
}

/* ---------------------------------------------------------------------------------- 客户销售明细分析  */

export function A10customerSalesBreakdownAnalysisSheetApi(params) {
  return request({
    url: '/A10customerSalesBreakdownAnalysisSheet',
    params
  })
}

/* ---------------------------------------------------------------------------------- 客户类别交易分析  */

export function A10customerCategoryAnalysisApi(params) {
  return request({
    url: '/A10customerCategoryAnalysis',
    params
  })
}

/* ---------------------------------------------------------------------------------- 业务销售分析表  */

export function A10businessSalesAnalysisApi(params) {
  return request({
    url: '/A10businessSalesAnalysis',
    params
  })
}

/* ---------------------------------------------------------------------------------- 业务销售分析表(退货)  */

export function A10businessSalesReturnsAnalysisApi(params) {
  return request({
    url: '/A10businessSalesReturnsAnalysis',
    params
  })
}

/* ---------------------------------------------------------------------------------- 业务销售排行  */

export function A10salesmanSalesRankingApi(params) {
  return request({
    url: '/A10salesmanSalesRanking',
    params
  })
}

/* ---------------------------------------------------------------------------------- 业务员销售明细分析表  */

export function A10salesDetailAnalysisSheetForSalesmenApi(params) {
  return request({
    url: '/A10salesDetailAnalysisSheetForSalesmen',
    params
  })
}

/* ---------------------------------------------------------------------------------- 产品类别交易分析表  */

export function A10productCategoryTransactionAnalysisSheetApi(params) {
  return request({
    url: '/A10productCategoryTransactionAnalysisSheet',
    params
  })
}

/* ---------------------------------------------------------------------------------- 产品销售明细分析表  */

export function A10detailedAnalysisSheetOfProductSalesApi(params) {
  return request({
    url: '/A10detailedAnalysisSheetOfProductSales',
    params
  })
}

/* ---------------------------------------------------------------------------------- 产品类别销售明细分析表  */

export function A10productCategorySalesDetailAnalysisApi(params) {
  return request({
    url: '/A10productCategorySalesDetailAnalysis',
    params
  })
}

/* ---------------------------------------------------------------------------------- 供应商交易分析表  */

export function A10supplierTransactionAnalysiSheetApi(params) {
  return request({
    url: '/A10supplierTransactionAnalysiSheet',
    params
  })
}

/* ---------------------------------------------------------------------------------- 供应商类别交易分析表  */

export function A10supplierClassTransactionAnalysisTableApi(params) {
  return request({
    url: '/A10supplierClassTransactionAnalysisTable',
    params
  })
}

/* ---------------------------------------------------------------------------------- 人员报工明细表  */

export function A10personnelReportScheduleApi(params) {
  return request({
    url: '/A10personnelReportSchedule',
    params
  })
}

/* ---------------------------------------------------------------------------------- 机台报工明细表  */

export function A10machineReportScheduleApi(params) {
  return request({
    url: '/A10machineReportSchedule',
    params
  })
}

//! ----------------------------------------------------------------------------------------------------下面是销售管理的内容

// 销售报价单
export function A10salesQuotation(params) {
  return request({
    url: '/A10salesQuotation',
    params
  })
}

export function A10salesQuotationsub(params) {
  return request({
    url: '/A10salesQuotationsub',
    params
  })
}

// 销售订单
export function A10salesOrder(params) {
  return request({
    url: '/A10salesOrder',
    params
  })
}

export function A10salesOrdersub(params) {
  return request({
    url: '/A10salesOrdersub',
    params
  })
}

// 销售出库单
export function A10salesReleaseSheet(params) {
  return request({
    url: '/A10salesReleaseSheet',
    params
  })
}

export function A10salesReleaseSheetsub(params) {
  return request({
    url: '/A10salesReleaseSheetsub',
    params
  })
}

// 销售退货单
export function A10salesReturnNote(params) {
  return request({
    url: '/A10salesReturnNote',
    params
  })
}

export function A10salesReturnNotesub(params) {
  return request({
    url: '/A10salesReturnNotesub',
    params
  })
}

// 报价明细表
export function A10quotationList(params) {
  return request({
    url: '/A10quotationList',
    params
  })
}

// 销售订单明细表
export function A10salesOrderSheet(params) {
  return request({
    url: '/A10salesOrderSheet',
    params
  })
}

// 销售交期达成率
export function A10salesDeliveryRate(params) {
  return request({
    url: '/A10salesDeliveryRate',
    params
  })
}

// 销售交易明细表
export function A10statementOfSalesTransactions(params) {
  return request({
    url: '/A10statementOfSalesTransactions',
    params
  })
}

// 客户交易汇总表
export function A10summaryOfCustomerTransactions(params) {
  return request({
    url: '/A10summaryOfCustomerTransactions',
    params
  })
}

// 业务销售交易汇总表
export function A10summaryOfBusinessSalesTransactions(params) {
  return request({
    url: '/A10summaryOfBusinessSalesTransactions',
    params
  })
}

/* ---------------------------------------------------------------------------------- 客户资料  */

export function A10comcustomer(params) {
  return request({
    url: '/A10comcustomer',
    params
  })
}

/* ---------------------------------------------------------------------------------- 销售报价单审核，取消审核  */
export function A10salesQuotationHasCheck(params) {
  return request({
    url: '/A10salesQuotationHasCheck',
    params
  })
}
